home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / amos / AMOSL0495.lzh / AMOSLIST / 000116_amos-request@svcs1.digex.net_Mon Apr 24 21:49:31 1995.msg < prev    next >
Internet Message Format  |  1995-05-01  |  2KB

  1. Received: from svcs1.digex.net by nfs2.digex.net with SMTP id AA00123
  2.   (5.67b8/IDA-1.5); Mon, 24 Apr 1995 21:49:28 -0400
  3. Received: by svcs1.digex.net id AA06624
  4.   (5.67b8/IDA-1.5 for amos-out); Mon, 24 Apr 1995 18:06:51 -0400
  5. Received: from nfs2.digex.net by svcs1.digex.net with SMTP id AA06620
  6.   (5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Mon, 24 Apr 1995 18:06:49 -0400
  7. Received: from elixir.e.kth.se by nfs2.digex.net with SMTP id AA17246
  8.   (5.67b8/IDA-1.5 for <amos-list@access.digex.net>); Mon, 24 Apr 1995 18:06:43 -0400
  9. Received: from spirou.e.kth.se (spirou.e.kth.se [130.237.48.11]) by elixir.e.kth.se (8.6.8.1/8.6.6) with ESMTP id AAA26420 for <amos-list@access.digex.net>; Tue, 25 Apr 1995 00:06:33 +0200
  10. From: Tolga Turkoglu <e92_tot@elixir.e.kth.se>
  11. Received: (e92_tot@localhost) by spirou.e.kth.se (8.6.8.1/8.6.6) id AAA24281; Tue, 25 Apr 1995 00:06:32 +0200
  12. Date: Tue, 25 Apr 1995 00:06:32 +0200
  13. Message-Id: <199504242206.AAA24281@spirou.e.kth.se>
  14. To: amos-list@access.digex.net
  15. Subject: Displaying bobs with Plot
  16. Status: O
  17. X-Status: 
  18.  
  19.  
  20. Hello again everbody,
  21.  
  22. Thanks to all who has replied to my speed problem
  23. with If and On Proc.I have a different problem now:
  24.  
  25. When I combine bob updating with Plot command,
  26. the bobs leaves a trace behind themselves while
  27. they are moving.Here is the approximate code:
  28.  
  29.     Flash Off:Cursor Off:Autoback 0:Double Buffer
  30.     Priority On:Bob Update Off
  31.     
  32.     ...
  33.     'Here loading some bob images
  34.     ...
  35.     Make Mask
  36.     ...
  37.  
  38.  
  39.     'Here comes the main loop
  40.     Do
  41.       Bob Clear
  42.       ...
  43.       Plot x+50,y+50,colour
  44.       Bob 1,x,y,image
  45.       Bob Draw
  46.       Screen Swap
  47.       Wait Vbl
  48.     Loop
  49.  
  50. Now I know that I have to plot same Plot point
  51. twice because of Double Buffer.And you can assume
  52. that it is being taking care of in the code above.
  53.  
  54. The real problem is that the Bob Clear command doesn't
  55. seems to work when Plot command is present.All the bobs
  56. on screen is left where they are and they seem to stuck
  57. to their position like if they where glued.This problem
  58. is appearing only if the line with the Plot command is there.
  59.  
  60. I actually did come around this by putting Bob Clear right
  61. before Bob Draw but I really would like to know why this
  62. code isn't working.And I'm not sure if my solution is good
  63. enough.
  64.  
  65. Tolga